package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.BdmOrderShipments;

import java.util.List;

/**
 * 订单发货Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-28
 */
public interface BdmOrderShipmentsMapper extends BaseMapper<BdmOrderShipments>
{
    /**
     * 查询订单发货
     * 
     * @param id 订单发货主键
     * @return 订单发货
     */
    public BdmOrderShipments selectBdmOrderShipmentsById(Long id);

    /**
     * 查询订单发货列表
     * 
     * @param bdmOrderShipments 订单发货
     * @return 订单发货集合
     */
    public List<BdmOrderShipments> selectBdmOrderShipmentsList(BdmOrderShipments bdmOrderShipments);

    /**
     * 新增订单发货
     * 
     * @param bdmOrderShipments 订单发货
     * @return 结果
     */
    public int insertBdmOrderShipments(BdmOrderShipments bdmOrderShipments);

    /**
     * 修改订单发货
     * 
     * @param bdmOrderShipments 订单发货
     * @return 结果
     */
    public int updateBdmOrderShipments(BdmOrderShipments bdmOrderShipments);

    /**
     * 删除订单发货
     * 
     * @param id 订单发货主键
     * @return 结果
     */
    public int deleteBdmOrderShipmentsById(Long id);

    /**
     * 批量删除订单发货
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBdmOrderShipmentsByIds(Long[] ids);

    /**
     *
     * @return
     */
    List<BdmOrderShipments> selectBdmOrderShipmentsAfterSaleList(BdmOrderShipments bdmOrderShipments);

}
